From f4bc9b9c73a3dcf7353988568ff82bab8fe8cb9e Mon Sep 17 00:00:00 2001 From: Ximin Luo Date: Thu, 24 Aug 2017 17:08:14 +0200 Subject: [PATCH] Don't clean Cargo.toml.orig files --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 73d69b246..673ebdd6e 100755 --- a/debian/rules +++ b/debian/rules @@ -79,6 +79,10 @@ override_dh_auto_clean: $(CURDIR)/Makefile \ $(CURDIR)/cargo-stage0 +override_dh_clean: + # Upstream contains a lot of these + dh_clean -XCargo.toml.orig + CROSS_SBUILD = sbuild --profiles=nocheck \ --build-failed-commands '%SBUILD_SHELL' \ --host=$(DEB_HOST_ARCH) \ -- 2.30.2